Crate sfsm_proc[][src]

Macros

Generates a state machine from a given state machine definition.

Generates code to push messages into states or poll messages from states.

Generates a state machine from a given state machine definition.

Generate the enum entry of a state. Expects the name of the sfsm and the name (and type args) of the state as well as the desired name of the variable to work with as arguments. Can be used to generate match branches for example.